package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lwj
 * @date 2023/4/23
 */

@Data
@TableName(value = "t_mall_setting")
public class MallSetting {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * json字符串banner
     */
    @TableField(value = "banner")
    private String banner;

    /**
     * 猫粮跳转分类id
     */
    @TableField(value = "cat_food_go")
    private Long catFoodGo;

    /**
     * 猫砂跳转分类id
     */
    @TableField(value = "cat_litter_go")
    private Long catLitterGo;

    /**
     * 营养保健跳转分类id
     */
    @TableField(value = "cat_nutrition_go")
    private Long catNutritionGo;

    @TableField(value = "cat_toy_go")
    private Long catToyGo;

    /**
     * 游客默认会员等级
     */
    @TableField(value = "default_member_id")
    private Long defaultMemberId;

    @TableField(value = "card_coupon_foster")
    private Long cardCouponFoster;

    @TableField(value = "card_coupon_insect")
    private Long cardCouponInsect;

    @TableField(value = "card_coupon_wash")
    private Long cardCouponWash;

    @TableField(value = "cooperate_url")
    private String cooperateUrl;

    @TableField(value = "notice")
    private String notice;

    @TableField(value = "wfb_deduction_success_tag")
    private String wfbDeductionSuccessTag;

    @TableField(value = "wfb_deduction_success_message_id")
    private Long wfbDeductionSuccessMessageId;

    @TableField(value = "wfb_deduction_success_coupon_id")
    private Long wfbDeductionSuccessCouponId;

    @TableField(value = "quality_check")
    private String qualityCheck;

    @TableField("is_mall_close")
    private Integer isMallClose;

    @TableField("mall_close_remark")
    private String mallCloseRemark;

    @TableField("ok_procure_cat_day")
    private Integer okProcureCatDay;

    @TableField("to_shop_day")
    private Integer toShopDay;

    @TableField("cage_banner")
    private String cageBanner;

    @TableField("public_num_care_page")
    private String publicNumCarePage;

    @TableField(value = "version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;

    @TableField("my_pet_active_img")
    private String myPetActiveImg;

}